<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% block meta %}{% endblock %}
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<link href="{{ site and site.media and site.media.url.css }}" rel="stylesheet">
{% block css %}{% endblock %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
<script src="{{ site and site.media and site.media.url.js }}"></script>
{% block js %}{% endblock %}
<title>{% block title %}{% endblock %}{{ site.name }}</title>
{% if analytics_code %}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("{{ site.analytics_code }}");
pageTracker._trackPageview();
} catch(err) {}</script>
{% endif %}
</head>
<body><a name="top"></a>
<div class="{{ site and site.media and site.media.cls.topplaceholder }} hidden-phone">{{ site.name }}</div>
<div class="container"><div class="navbar navbar-inverse navbar-fixed-top"><div class="navbar-inner">
      <a class="brand" href="{{ site.brand_url }}">{{ site.name }}</a>
    <ul class="nav">
    <li><a href="{{ site.brand_url }}">{{ i18n.home }}</a></li>
    {% if logout_url %}<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.nickname() }}<b class="caret"></b></a>
        <ul class="dropdown-menu"><li><a href="{{ logout_url }}">{{ i18n.logout }}</a></li></ul></li>{% endif %}
    </ul>
</div></div>
  <div class="row">
    <div class="span8">{% block content %}{% endblock %}</div>
  </div>
  <div class="row">
    <div class="span12"><hr/><a href="#top">{{ i18n.topLink }}</a></div>
  </div>
</div>
{% block jscodes %}{% endblock %}
</body>
</html>

